package com.unhz.generator.dao;

import com.unhz.generator.pojo.DeliveryInfo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
@Repository
public interface DeliveryInfoMapper {
    int deleteByPrimaryKey(@Param("deliveryOrrderId") Long deliveryOrrderId);

    int insert(DeliveryInfo record);

    int insertSelective(DeliveryInfo record);

    DeliveryInfo selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(DeliveryInfo record);

    int updateByPrimaryKey(DeliveryInfo record);

    List<DeliveryInfo> selectByDeliveryOrderId(@Param("deliveryOrderId") Long deliveryOrderId);

    void deleteDeliveryOrderInfo(@Param("deliveryId") Long deliveryId);

    void updateDeliveryOrderInfo(DeliveryInfo deliveryInfo);
}